home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr31 / hades.zip / PWD.H < prev    next >
C/C++ Source or Header  |  1992-04-13  |  713b  |  36 lines

  1. /***************
  2. **
  3. **  pwd.h
  4. **
  5. **  Header file for password-functions in pwd.c
  6. **  Written for Desperate password-cracker with hades encryption
  7. **  engine byte Remote.
  8. **
  9. **  Copyright (C)1992, Zabkar
  10. **
  11. **  root@waves.hacktic.nl (Zabkar)
  12. **  root@room101.hacktic.nl (Remote)
  13. **
  14. */
  15.  
  16. struct passwd
  17.   {
  18.   char pw_name[20];
  19.   char pw_passwd[40];    /* incompatible with unix pwd: should be 20! */
  20.   int pw_uid;
  21.   int pw_gid;
  22.   char pw_gecos[80];
  23.   char pw_dir[80];
  24.   char pw_shell[80];
  25.   };
  26.  
  27.  
  28. struct passwd *getpwent(void);
  29. struct passwd *getpwuid(int id);
  30. struct passwd*getpwnam(char *name);
  31. int setpwent(void);
  32. int endpwent(void);
  33. int pw_openfile(char *name);
  34.  
  35. /* EOF PWD.H */
  36.